package com.yx.cloud.bean;

import android.graphics.Bitmap;
import org.json.JSONArray;
import java.util.List;

public class MapParamBean {
    public  Bitmap drawbitmap = null;
    public  Bitmap pathBitmap = null;
    public  float offsetX = 0f;
    public  float offsetY = 0f;
    public  float ratef = 1f;
    public  boolean hasPower = false;
    public  float rateWidth, rateHeight;
    public  LDMapBean ldMapBean = new LDMapBean();
    public  LDPathBean ldPathBean = new LDPathBean();
    public  List<RoomBean> roomList = null;
    public  JSONArray areaInfoArray = null;
    public  JSONArray roomTagInfoArray = null;
    public  int[] startAndEndPoints = new int[7];
    public  float rate = 1;
    public int mul = 0;
    public  float rateW = -1;
    public  float rateH = -1;
    public int phi;
    public void clear(){
        if (drawbitmap != null) {
            drawbitmap.recycle();
            drawbitmap = null;
        }

        if (pathBitmap != null) {
            pathBitmap.recycle();
            pathBitmap = null;
        }

        offsetX = 0f;
        offsetY = 0f;
        ratef = 1f;
        hasPower = false;
        rateWidth = 1f;
        rateHeight = 1f;
        roomList = null;
        areaInfoArray = null;
        roomTagInfoArray = null;
        startAndEndPoints = new int[7];
        rate = 1;
        mul = 0;
        rateW = -1;
        rateH = -1;
        phi = 0;
    }
}
